package com.deke.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;

import lombok.Data;


/**
 * (TbBottomArticle)实体类
 *
 * @author makejava
 * @since 2022-12-09 15:46:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_bottom_article")
public class TbBottomArticle  {
    /**
     * 主键
     */
    @TableId
    private String id;
    /**
     * 导航名称
     */
    private String name;
    /**
     * 启用状态
     */
    private Integer isDisable;
    /**
     * 逻辑删除
     */
    private Integer isDeleted;
    /**
     * 父类id
     */
    private String parentId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    @TableField(exist = false)
    private List<TbBottomArticle> children;
}

